#include <gtest/gtest.h>
#include <memory/spw_alloc.h>
using namespace spwstd;
class Aclass{
public:
    Aclass(int a, bool b): a_(a), b_(b) {}
    Aclass(): a_(0), b_(false) {}
    int a_;
    int b_;
};
class Alloc_test : public testing::Test {
protected:
    void SetUp() override {}
    void TearDown() override {}
public:
    DefaultAlloc<int> int_;
    DefaultAlloc<Aclass> class_;
    PoolAlloc<int> int_pool_;
    PoolAlloc<Aclass> class_pool_;
};

TEST_F(Alloc_test, Default_Alloc_test) {
    // 申请10个int内存
}
TEST_F(Alloc_test, PoolAlloc_test) {}
